﻿/* Copyright © 2012 Gargol, Gargol at gbot dot org
   Based on CoreDC Copyright 2007 © Johan Pettersson, Fredrik Johansson, Michael Starberg, Christian Epstein.
 
This file is part of ADCCore.

ADCCore is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.

ADCCore is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with ADCCore.  If not, see <http://www.gnu.org/licenses/>. */
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ADCCore.Classes
{
    public class FileDownload
    {
        public enum FileType { TTH=0, File=1, FileList=2 } 
        public FileDownload()
        {
            this.FileName = String.Empty;
            this.TTH = String.Empty;
            this.Size = -1;
            this.Start = 0;
            this.DownloadPath = String.Empty;
            this.Filetypes = FileType.TTH;
        }
        public String FileName { get; set; }
        public String TTH { get; set; }
        public Int64 Size { get; set; }
        public Int64 Start { get; set; } 
        public String DownloadPath { get; set; }
        public FileType Filetypes { get; set; }
    }
}
